/**
 * 
 */
package hu.myai.model.misc;

/**
 * @author bozbalint
 * 
 */
public class KeyValue {

	private boolean mark;

	private String name;

	private double value;

	private Object object;

	public KeyValue(boolean mark, String name, double value, Object object) {

		this.mark = mark;
		this.name = name;
		this.value = value;
		this.object = object;
	}

	/**
	 * @return the mark
	 */
	public Boolean getMark() {
		return mark;
	}

	/**
	 * @param mark
	 *            the mark to set
	 */
	public void setMark(Boolean mark) {
		this.mark = mark;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the value
	 */
	public double getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(double value) {
		this.value = value;
	}

	/**
	 * @return the object
	 */
	public Object getObject() {
		return object;
	}

	/**
	 * @param object
	 *            the object to set
	 */
	public void setObject(Object object) {
		this.object = object;
	}

	@Override
	public String toString() {
		return value + "(" + name + ")";
	}
}
